﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace RoketPack.IM
{
    public class AccountSettings
    {
        private string p_Username = "";
        private string p_Password = "";

        /// <summary>
        /// The account username.
        /// </summary>
        [Category("Account Details"), Description("The XMPP or Google Talk username and domain to connect to.  This value should be " +
"in the form of username@domain.com.")]
        public string Username
        {
            get
            {
                return this.p_Username;
            }
            set
            {
                this.p_Username = value;
            }
        }

        /// <summary>
        /// The account password.
        /// </summary>
        [Category("Account Details"), PasswordPropertyText(true), Description("The password for the account.")]
        public string Password
        {
            get
            {
                return this.p_Password;
            }
            set
            {
                this.p_Password = value;
            }
        }
    }
}
